package com.sh.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 算子表
 * </p>
 *
 * @author zhenlan
 * @since 2024-07-10
 */
@Data
  @TableName("t_operator")
public class Operator implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

    @TableField("name")
    private String name;

    @TableField("name_en")
    private String nameEn;

      /**
     * 适用学科
     */
      @TableField("subject_code")
    private String subjectCode;

      /**
     * 适用类型
     */
      @TableField("applicable_type_code")
    private String applicableTypeCode;

    @TableField("description")
    private String description;

      /**
     * 算子文件资源id
     */
      @TableField("file_resource_id")
    private Long fileResourceId;

    @TableLogic
    @TableField("deleted")
    private Integer deleted;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("create_time")
    private Date createTime;

    @TableField("create_by")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("update_time")
    private Date updateTime;

    @TableField("update_by")
    private String updateBy;

    @TableField("used")
    private Integer used;

    @TableField("operator_url")
    private String operatorUrl;

    @TableField("operator_file_name")
    private String operatorFileName;

    @TableField("operator_file_detail")
    private String operatorFileDetail;

    @TableField("param_info")
    private String paramInfo;

    @TableField("result_info")
    private String resultInfo;

    @TableField("func_param_info")
    private String funcParamInfo;

    @TableField("entry_file_path")
    private String entryFilePath;

    @TableField("entry_func")
    private String entryFunc;
}
